package com.czc.cca.ddl;

import org.zoomdev.zoom.dao.ddl.SqlType;
import org.zoomdev.zoom.dao.ddl._DDL_Column;
import org.zoomdev.zoom.dao.ddl._DDL_CompoundPrimary;
import org.zoomdev.zoom.dao.ddl._DDL_Table;
import org.zoomdev.zoom.dao.driver.mysql.MysqlDriver;

@_DDL_CompoundPrimary(columns = {"TEMPLATE_BUSINESS", "WECHAT_APPID"})
@_DDL_Table(name = "wechat_template_config", simpleName = "", engine = MysqlDriver.InnoDB, comment = "微信模板配置")
public class _DDL_WechatTemplateConfig {

    @_DDL_Column(name = "TEMPLATE_NAME", type = SqlType.VARCHAR, size = 50, nullable = false, comment = "推送业务名称")
    private String name;

    @_DDL_Column(name = "TEMPLATE_BUSINESS", type = SqlType.VARCHAR, size = 30, nullable = false, comment = "推送业务")
    private String business;

    @_DDL_Column(name = "WECHAT_APPID", type = SqlType.VARCHAR, size = 30, nullable = false, comment = "微信APPID")
    private String wechatAppid;

    @_DDL_Column(name = "TEMPLATE_CONTENT", type = SqlType.TEXT, nullable = false, comment = "模板内容")
    private String content;

    @_DDL_Column(name = "CREATE_TIME", type = SqlType.VARCHAR, size = 19, nullable = false, comment = "创建时间")
    private String createTime;

    @_DDL_Column(name = "UPDATE_TIME", type = SqlType.VARCHAR, size = 19, nullable = false, comment = "更新时间")
    private String updateTime;

}
